package com.baizhi.mapper;

import com.baizhi.entity.LayuiResource;
import com.baizhi.entity.TreeNode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhengg
 * @since 2020-07-31
 */
public interface LayuiResourceMapper extends BaseMapper<LayuiResource> {
    public List<LayuiResource> selectResByUsername(@Param("username") String username);
    public List<LayuiResource> selectMenuByUsername(@Param("username") String username);
    public List<TreeNode> selectResTree();
}
